import Vue from 'vue'
import Router from 'vue-router'
import index from '@/pages/index/index'
import City from '@/pages/City/City'
import service from '@/pages/service/service'
import about from '@/pages/About/about'
import Recruitment from '@/pages/Recruitment/Recruitment'
import mediaReport from '@/pages/mediaReport/mediaReport'
import Article from '@/pages/mediaReport/article'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      name: 'index',
      component: index
    },{
      path:'/City',
      name: 'City',
      component: City
    },{
      path:'/service',
      name: 'service',
      component: service
    },{
      path:'/about',
      name: 'about',
      component: about
    },{
      path: '/Recruitment',
      name: 'Recruitment',
      component: Recruitment
    },{
      path: '/mediaReport',
      name: 'mediaReport',
      component: mediaReport
    },{
      path: '/mediaReport/article/:id',
      name: 'article',
      component: Article
    }
  ]
})
